﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_DevMan_Add.aspx.cs" Inherits="Admin_DevMan_Add" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <script type="text/javascript" src="./js/cookie.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <form id="form1" runat="server" class="layui-form">
            <div class="x-body">
                <%-- <form class="layui-form">--%>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>设备编号
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FProNum" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="此项必填" ControlToValidate="FProNum" ForeColor="#FF3300"></asp:RequiredFieldValidator> 
                        </span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>设备名称
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FProName" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="此项必填" ControlToValidate="FProName"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>设备图片
                    </label>
                    <div class="layui-input-inline">
                        <asp:FileUpload ID="FileUploadImg" runat="server" />
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FileUploadImg_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>设备单位
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FDanWei" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="此项必填" ControlToValidate="FDanWei"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>存放位置
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FProPlace" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="此项必填" ControlToValidate="FProPlace"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>负责人
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FDutyName" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FDutyName_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>设备状态
                    </label>
                    <div class="layui-input-inline">
                        <asp:DropDownList ID="RBLZT" runat="server">
                            <asp:ListItem Value="正常">正常</asp:ListItem>
                            <asp:ListItem Value="待维修">待维修</asp:ListItem>
                            <asp:ListItem Value="正在维修">正在维修</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="此项必填" ControlToValidate="RBLZT"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>设备分类
                    </label>
                    <div class="layui-input-inline">
                        <asp:DropDownList ID="FProCateg" runat="server">
                            <asp:ListItem Value="教学设备">教学设备</asp:ListItem>
                            <asp:ListItem Value="科研设备">科研设备</asp:ListItem>
                            <%--<asp:ListItem Value="2">正在维修</asp:ListItem>--%>
                        </asp:DropDownList>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="此项必填" ControlToValidate="FProCateg"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <span class="x-red">*</span>购买时间
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FDate" runat="server" class="layui-input"></asp:TextBox>
                        <script>
                            layui.use('laydate', function () {
                                var laydate = layui.laydate;

                                //执行一个laydate实例
                                laydate.render({
                                    elem: '#FDate' //指定元素
                                });
                            });
                        </script>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="此项必填" ControlToValidate="FDate"></asp:RequiredFieldValidator></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>是否需要预约
                    </label>
                    <div class="layui-input-inline">
                        <asp:DropDownList ID="RBLYY" runat="server">
                            <asp:ListItem Value="需要">需要</asp:ListItem>
                            <asp:ListItem Value="不需要">不需要</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="RBLYY_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>生产厂家
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FManuName" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FManuName_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>厂家网址
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FManuInfo" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FManuInfo_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>




                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>设备价值
                    </label>
                    <div class="layui-input-inline">
                        <asp:TextBox ID="FProWorth" runat="server" class="layui-input"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FProWorth_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>操作指南
                    </label>
                    <div class="layui-input-inline">
                        <asp:FileUpload ID="FileUploadUse" runat="server" />
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FileUploadUse_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>功能介绍
                    </label>
                    <div class="layui-input-block">
                        <asp:TextBox ID="FProFunction" runat="server" class="layui-textarea" TextMode="MultiLine"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FProFunction_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label for="username" class="layui-form-label">
                        <%--<span class="x-red">*</span>--%>备注
                    </label>
                    <div class="layui-input-block">
                        <asp:TextBox ID="FProRemarks" runat="server" class="layui-textarea" TextMode="MultiLine"></asp:TextBox>
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">
                            <asp:Label ID="FProRemarks_Label" runat="server" Text=""></asp:Label></span>
                    </div>
                </div>




                <%--<div class="layui-form-item">
                    <label class="layui-form-label"><span class="x-red">*</span>角色</label>
                    <div class="layui-input-block">
                        <input type="checkbox" name="like1[write]" lay-skin="primary" title="超级管理员" checked="">
                        <input type="checkbox" name="like1[read]" lay-skin="primary" title="编辑人员">
                        <input type="checkbox" name="like1[write]" lay-skin="primary" title="宣传人员" checked="">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_pass" class="layui-form-label">
                        <span class="x-red">*</span>密码
                    </label>
                    <div class="layui-input-inline">
                        <input type="password" id="L_pass" name="pass" required="" lay-verify="pass"
                            autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        6到16个字符
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_repass" class="layui-form-label">
                        <span class="x-red">*</span>确认密码
                    </label>
                    <div class="layui-input-inline">
                        <input type="password" id="L_repass" name="repass" required="" lay-verify="repass"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>--%>
                <div class="layui-form-item">
                    <label for="L_repass" class="layui-form-label">
                    </label>
                    <asp:Button ID="Button1" runat="server" Text="提交" class="layui-btn" OnClick="Button1_Click1" />
                    
                </div>
                <%--</form>--%>
            </div>
    </form>
</body>
</html>
